<script>
	export default {
		onLaunch: function(e) {
			// #ifdef MP-WEIXIN
			const updateManager = wx.getUpdateManager();
			updateManager.onCheckForUpdate(function(res) {
				
			});
			
			updateManager.onUpdateReady(function() {
				updateManager.applyUpdate();
			});
			
			updateManager.onUpdateFailed(function() {
				// 新的版本下载失败
			});
			// #endif
		},
		onShow: function() {
			
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import './common/css/animate.css';
	@import './common/css/main.scss';
	@import './common/css/common.scss';
</style>
